<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.tomato.bean.Photo"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<h1>E_book Property Edit</h1>
<%
	request.setCharacterEncoding("utf-8");
	Photo photo = (Photo)request.getAttribute("photo");
%>
	<form action="photo?method=edit" method="post" enctype="multipart/form-data">
		<input type="hidden" name="id" value="<%=photo.getId()%>"/>
		Book Image : <input type="file" name="image" /><br/>
		<input type="submit" value="Save"></input>
	</form>
</body>
</html>